import {customeStruct} from '../utils';
const itf = customeStruct.interface;
export const List = itf({
    payload: itf({
        content: [itf({
            id: 'string',
            rowVersion: 'string',
            options: ['string']
        })],
        totalElements: 'number'
    })
});

export const Brand = itf({
    payload: itf({
        content: [
            itf({
                id: 'string',
                code: 'string',
                name: 'string',
            })
        ],
    })
});

export const InitData = itf({
    payload: itf({
        partSaleOrderTypes: [itf({
            id: 'string',
            typeCode: 'string',
            typeName: 'string'
        })],
    })
});


export const Detail = itf({
    payload: itf(
        {
            id: 'string',
            rowVersion: 'string',
            options: ['string'],
        },
    )
});
